<?php

class TagController extends Controller {
    public function IndexAction () {

    }
    
    public function ViewAction () {
        $tag_name = Context::getParam('name');
        $model = new TagModel();
        
        $this->tag_name = $tag_name;
        $this->shops = $model->getShopsByTag($tag_name);
    }
}
?>